package org.stone.project.webIntegration.pojo.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "web-filter")
public class WebFilterConfigProp {
    /**
     * http内容缓存最大提醒值，默认2MB    单位：kb
     */
    private Integer cacheMaxSize = 1024*2;



    public Integer cacheMaxByteSize() {
        return cacheMaxSize * 1024;
    }
}
